import MajorInfo from './majorinfo.vue'
import majorInfoAdd from './majorinfoAdd.vue'
import majorInfoSearch from './majorinfoSearch.vue'
import majorInfoView from './majorinfoView.vue'

const components = [
    MajorInfo,
    majorInfoAdd,
    majorInfoSearch,
    majorInfoView
]

const main = {
    install(Vue) {
        components.map((component) => {
            Vue.component(component.name, component)
        })
    }
}
export default main
